package tp.pr5;

import tp.pr5.items.InventoryObserver;

public abstract class Controller {
	protected RobotEngine engine;
	
	public Controller(RobotEngine engine){
		this.engine = engine;
	}
	
	public void registerEngineObserver(RobotEngineObserver ro) {
		engine.addObserver(ro);
	}

	
	public void registerItemContainerObserver(InventoryObserver io) {
		engine.addIObserver(io);		
	}

	
	public void registerRobotObserver(NavigationObserver no) {
		engine.addNObserver(no);		
	}
	public abstract void startController();
}
